package com.mastercard

import java.util.Date;
import com.mastercard.auth.User
class Budget {
	
	static auditable = true
	
	enum Type {DAILY, WEEKLY, MONTHLY, YEARLY, OTHER}
	enum Level {TOTAL, PERCARD}
	Level level
	Type type
	String currency
	Long amount
	String description
	Date startDate
	Date endDate
	boolean recursive
	
	static belongsTo = [creditCard: CreditCard, user:User]
    static constraints = {
    }
}
